package org.particles.gui;

import javax.swing.AbstractAction;

import org.particles.common.CommonService;

public abstract class AbstractSimAction extends AbstractAction {
	private static final long serialVersionUID = 6718569960910514653L;
	private WorldTimeTask worldTimeTask;
	private CommonService commonService;
	private WorldPanel worldPanel;

	public void setWorldTimeTask(WorldTimeTask task) {
		this.worldTimeTask = task;
	}

	public WorldTimeTask getWorldTimeTask() {
		return worldTimeTask;
	}

	public void setCommonService(CommonService commonService) {
		this.commonService = commonService;
	}

	public CommonService getCommonService() {
		return commonService;
	}

	public WorldPanel getWorldPanel() {
		return worldPanel;
	}

	public void setWorldPanel(WorldPanel worldPanel) {
		this.worldPanel = worldPanel;
	}

}
